package tv.acgn.advertisement.search.exception;

import tv.acgn.advertisement.servicebase.enumconst.ExceptionLevel;

/**
 * @author : junG
 * @program : advertisement-ad-search-exception
 * @description :索引更新失败异常
 * @date : 2019-07-07 23:47
 **/

public class IndexUpdateFailedException extends AbstractAdSearchException {
    public IndexUpdateFailedException(Object indexIO) {
        super(indexIO.getClass()+"索引更新失败");

        this.setLevel(ExceptionLevel.HIGH.getLevel());

        this.setErrorCode("AdSearch.Index.Update.Failed");

        this.setExtendInfo(indexIO.getClass()+"索引更新失败");
    }
}
